﻿#include "../src/acllib.h"
#include"stdio.h"

void mouse(int x, int y, int key, int event)
{
	printf("(%5d,%5d):key%2d-event%2d\n", x, y, key, event);
}
void key(int key, int event)
{
	printf("key:%d\t event:%d\n", key, event);
}
void char_(int c) {
	printf("char:%d", c);
}

int Setup()
{
	initConsole();
	initWindow("",0,0,300,300);
	registerCharEvent(char_);
	registerKeyboardEvent(key);
	registerMouseEvent(mouse);
}
